package com.newgrand.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newgrand.model.Pcm3CntChangeD;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Author: zhanglixin
 * @Data: 2023/6/24 20:54
 * @Description: TODO
 */
@Resource
@Mapper
public interface Pcm3CntChangeDMapper extends BaseMapper<Pcm3CntChangeD> {
    @Select("select temp.* from (${tableQuery}) temp where temp.pphid=#{billphid}")
    List<Map<String,Object>> getData(@Param("tableQuery") String tableQuery, @Param("billphid") String billphid);
}
